import React from 'react'
import { NavLink } from 'react-router-dom'
import './Nav.css'
export default function Nav() {
    return (
        <div className='nav'>
            <NavLink to="/home">首页</NavLink>
            <NavLink to="/ref">ref</NavLink>
            <NavLink to="/hooks">hooks</NavLink>
            <NavLink to="/todolist">todolist</NavLink>
            <NavLink to="/heros">英雄</NavLink>
            <NavLink to="/duanzi">段子</NavLink>
            <NavLink to="/news">新闻</NavLink>
        </div>
    )
}
